<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" 
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4" 
      lang="cn">
  <head>
    <meta charset="UTF-8">
    <title>存入变量</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    
     <link rel="shortcut icon" th:href="@{/favicon.ico}" type="image/x-icon" />
     <link rel="stylesheet" th:href="@{/jstree/themes/default/style.min.css}" />
    <link rel="stylesheet" th:href="@{/css/font-awesome.min.css}">
	<link rel="stylesheet" th:href="@{/css/xadmin.css}">
	<script type="text/javascript" th:src="@{/js/jquery.min.js}"></script>
    <script type="text/javascript" th:src="@{/layui/layui.js}" charset="utf-8"></script>
    <script type="text/javascript" th:src="@{/js/xadmin.js}"></script>
    <script type="text/javascript" th:src="@{/js/common.js}"></script>
    <script type="text/javascript" th:src="@{/js/para-op.js}"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
      <script th:src="@{/js/html5shiv.min.js}"></script>
      <script th:src="@{/js/respond.min.js}"></script>
    <![endif]-->
  </head>
  
  <body>
   <input type="hidden" id="index" th:attr="value=${index}"/>
   <input type="hidden" id="selectType" th:attr="value=${selectType}"/>
   <input type="hidden" id="operateData" th:attr="value=${operateData}"/>
    <div class="x-body">
        <div class="layui-row"  id="para-div" style="width:100%;border:1px solid #ddd;">
					<div class="layui-col-md12" style="height:300px;overflow-y:auto;">
						<div id="newpara" class="layui-form" style="margin-right:20px;">
						    <div class="layui-form-item" style="margin-top:20px;">
							    <label for="paraName" class="layui-form-label" >运算公式:</label>
							    <div class="layui-input-block">
								  <input type="text" id="paraOper" autocomplete="off" class="layui-input" maxlength="50">
							    </div>
							</div>
							 <div class="layui-form-item">
						  <div class="layui-inline">
							  <label class="layui-form-label">已定义变量</label>
							  <div class="layui-input-block">
							  <table class="layui-table">
						        <thead>
						          <tr>
						            <th>变量名</th>
						        </thead>
						        <tbody id="dg">
						        </tbody>
						      </table>
							 </div>
						  </div>
						</div>
						</div>
					</div>
		</div>	
 	<div class="layui-form-item" style="text-align:center;margin-top:10px;">
			<button id="save-btn"  class="layui-btn"  type="button">
			 <i class="fa fa-floppy-o" style="margin-right:10px;"></i>确定
			</button>
  	</div>
</div>
</body>
</html>